//定义App组件
<template>
	<div class="atguigu">
		<h1>你好啊，{{msg}}</h1>	
		<button @click="show">点我提示1</button>
		<Hello></Hello>
	</div>
</template>

<script>
	import Hello from './components/Hello'

	//暴露组件核心配置
	export default {
		data(){
			return {
				msg:'尚硅谷'
			}
		},
		methods: {
			show(){
				alert(1)
			}
		},
		components:{Hello}
	}
</script>

<style>
	.atguigu{
		background-color: orange;
	}
</style>	